package com.daotu.psy.common.mybatis.handler;

import cn.hutool.core.lang.TypeReference;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;

import java.util.List;

/**
 * MyBatis-Plus,List<Object>处理基类
 *
 * @author andy
 * @version 1.0
 * @date 2021/12/20
 */

@MappedTypes(value = {List.class})
@MappedJdbcTypes(value = JdbcType.VARCHAR)
public class LongListTypeHandler extends BaseListTypeHandler<Long> {
	@Override
	protected TypeReference<List<Long>> specificType() {
		return new TypeReference<>() {
		};
	}
}
